package com.graduation_design.service;

import com.graduation_design.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 从南
* @description 针对表【sys_role】的数据库操作Service
* @createDate 2024-02-16 18:15:59
*/
public interface SysRoleService extends IService<SysRole> {

    List<SysRole> listRolesByUserId(Long userId);

    void deleteBath(Long... ids);

    void perm(Long roleId, Long... menuIds);
}
